popover: Be lenient wrt visibility of popovers too close to widget borders
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 12 Jun 2015 09:59:47 +0000 (11:59 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 12 Jun 2015 10:07:30 +0000 (12:07 +0200)
commit2be6d09c9ea7341478ac699c144178c2a001a197
treed5c2d938b9a0f0f3a9b661f6c037d620fdbb2aad
parent5a499ef3e165a0e0788fd2d92bf506f1453d68d9
popover: Be lenient wrt visibility of popovers too close to widget borders

The check used to hide the popover if the pointed area fell partly out of
the widget allocation, textviews now can trigger that with text selections
too close to the visible edge, as a small extra area around is now reserved.

The check has been changed to only hide the popover if the pointed area
falls completely outside the widget allocation.
gtk/gtkpopover.c